You must use a 32-bit Linux system to build this project.
(Bela Lubkin notes: it built fine for me on Ubuntu 12.04 x86_64; not sure what the issue might be? I do have 32-bit libraries installed for the benefit of various binary-only apps.)
git clone https://github.com/doozan/NookManager.git
cd NookManager
./build.sh