env.mk: added rules for:
1. add cc flags for a specific binary
2. easily compile shared object libraries