Fixes compilation issues

Hi, currently is impossible to build the project because it has compilation issues.

To avoid those silly mistakes let's file a jira to @qmx, politely asking to add travis support. Or I can do it if you want.