Fix some compiler warnings
Enable am silent rules