Updated build stuff.

Signed-off-by: Paulo Pires <pjpires@gmail.com>