Use custom Main module
Use -Werror on travis only