Fix on mask limit and Makefile.linux added