Fix compile on Ubuntu 13.04, move libs into bin/lib